package com.kylin.domain.marketing.vo;

import com.kylin.shared.common.ValueObject;
import com.kylin.shared.enums.MarketingType;
import lombok.Builder;
import lombok.Value;

import java.time.LocalDateTime;

/**
 * 营销数据
 * @author Damon S.
 * @version v1.0.1
 * @date 2020年06月04日 21:45
 */
@Value
@Builder
public class MarketingCampaignVO implements ValueObject {
    Long    campaignId;
    String  name;
    Integer payPhase;
    MarketingType type;
    LocalDateTime startAt;
    LocalDateTime stopAt;
    Long createdBy;
    Long updatedBy;
    Long pausedBy;
    LocalDateTime createdAt;
    LocalDateTime updatedAt;
    LocalDateTime pausedAt;

    public static final MarketingCampaignVO EMPTY =
            MarketingCampaignVO.builder().build();
}
